﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Advertise
/// </summary>
public class DTO_Advertise
{
    private int _id;
    private string _name;
    private string _src;
    private string _href;
    private int _position;
    private int _order;
    private int _status;
    private string _company;
    private string _datestart;
    private string _dateend;

    public int ID
    {
        get { return _id; }
        set { _id = value; }
    }
    public string Name
    {
        get { return _name; }
        set { _name = value; }
    }
    public string Src
    {
        get { return _src; }
        set { _src = value; }
    }
    public string Href
    {
        get { return _href; }
        set { _href = value; }
    }
    public int Position
    {
        get { return _position; }
        set { _position = value; }
    }
    public int Order
    {
        get { return _order; }
        set { _order = value; }
    }
    public int Status
    {
        get { return _status; }
        set { _status = value; }
    }
    public string Company
    {
        get { return _company; }
        set { _company = value; }
    }
    public string Datestart
    {
        get { return _datestart; }
        set { _datestart = value; }
    }
    public string Dateend
    {
        get { return _dateend; }
        set { _dateend = value; }
    }
	public DTO_Advertise()
	{
        _id = 0;
        _name = "";
        _src = "";
        _href = "";
        _position = 0;
        _order = 0;
        _status = 1;
        _company = "";
        _dateend = "";
        _datestart = "";
	}
    public DTO_Advertise(int id, string name, string src, string href, int position, int order, int status, string company, string datestart, string dateend) 
    {
        this.ID = id;
        this.Name = name;
        this.Src = src;
        this.Href = href;
        this.Position = position;
        this.Order = order;
        this.Status = status;
        this.Company = company;
        this.Datestart = datestart;
        this.Dateend = dateend;
    }
    public DTO_Advertise(DTO_Advertise obj) 
    {
        this.ID = obj.ID;
        this.Name = obj.Name;
        this.Src = obj.Src;
        this.Href = obj.Href;
        this.Position = obj.Position;
        this.Order = obj.Order;
        this.Status = obj.Status;
        this.Company = obj.Company;
        this.Datestart = obj.Datestart;
        this.Dateend = obj.Dateend;
    }
}